package com.lyeducation.controllers.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@ApiModel
@Data
public class CourseDTO extends BaseDto {

    /**
     * 课程id
     */
    @ApiModelProperty(value = "课程id", notes = "为空是更新，不为空是新增")
    private String courseId;

    /**
     * 类目id
     */
    @ApiModelProperty(value = "类目id")
    private String categoryId;

    /**
     * 类目名称
     */
    @ApiModelProperty(value = "类目名称")
    private String categoryName;

    /**
     * 创建者id
     */
    @ApiModelProperty(value = " 创建者id")
    private String createId;

    /**
     * 课程说明
     */
    @ApiModelProperty(value = "课程说明")
    private String message;

    /**
     * 课程价格
     */
    @ApiModelProperty(value = "课程价格")
    private BigDecimal coursePrice;

    /**
     * 课程封面
     */
    @ApiModelProperty(value = "课程封面")
    private String coursePic;

    /**
     * 课程库存
     */
    @ApiModelProperty(value = "课程库存")
    private Integer courseStock;

    /**
     * 是否热推
     */
    @ApiModelProperty(value = "是否热推")
    private Integer isPopular;

    /**
     * 是否轮播
     */
    @ApiModelProperty(value = "是否轮播")
    private Integer isCarousel;

    /**
     * 课程访问级别 0公开的
     */
    @ApiModelProperty(value = "课程访问级别 0公开的")
    private Integer videoAccessRoleEnum;

    @ApiModelProperty(value = "base64图片")
    private String imgBase64;

    @ApiModelProperty(value = "页码")
    private Integer pageNo;

    @ApiModelProperty(value = "页数")
    private Integer pageSize;
}
